package com.xyh.dao;

import com.xyh.pojo.Type;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TypeMapper extends BaseDao<Type>{

    Type getTypeByName(String Name);

    List<Type> getTypeTop(Integer size);

    void numAdd(String name);
}
